﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    [Serializable]
    public class Repair
    {
        public Repair()
        { }
        #region Model
        private int _id;
       
        private DateTime  _time;
        private string _cents;
        private string _factory;
        private decimal  _clf;
        private decimal  _rgf;
        private decimal  _otherprice;
        private decimal  _sum;
        private string _marks;
        private int  _inputuserid;
        private DateTime  _inputtime;
        private string _type;
        private string _carcode;
        /// <summary>
        /// 
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        
        /// <summary>
        /// 维修时间
        /// </summary>
        public DateTime  Time
        {
            set { _time = value; }
            get { return _time; }
        }
        /// <summary>
        /// 维修内容
        /// </summary>
        public string Cents
        {
            set { _cents = value; }
            get { return _cents; }
        }
        /// <summary>
        /// 修理厂
        /// </summary>
        public string Factory
        {
            set { _factory = value; }
            get { return _factory; }
        }
        /// <summary>
        /// 材料费
        /// </summary>
        public decimal  CLf
        {
            set { _clf = value; }
            get { return _clf; }
        }
        /// <summary>
        /// 人工费
        /// </summary>
        public decimal  RGF
        {
            set { _rgf = value; }
            get { return _rgf; }
        }
        /// <summary>
        /// 其他费用
        /// </summary>
        public decimal  OtherPrice
        {
            set { _otherprice = value; }
            get { return _otherprice; }
        }
        /// <summary>
        /// 总费用
        /// </summary>
        public decimal  Sum
        {
            set { _sum = value; }
            get { return _sum; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string Marks
        {
            set { _marks = value; }
            get { return _marks; }
        }
        /// <summary>
        /// 操作员Id
        /// </summary>
        public int  InputUserId
        {
            set { _inputuserid = value; }
            get { return _inputuserid; }
        }
        /// <summary>
        /// 录入员名字
        /// </summary>
        public string InputTrueName { get; set; }
        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime  InputTime
        {
            set { _inputtime = value; }
            get { return _inputtime; }
        }
        /// <summary>
        /// 维修类型
        /// </summary>
        public string Type
        {
            set { _type = value; }
            get { return _type; }
        }
        public string CarCode
        {
            set { _carcode = value; }
            get { return _carcode; }
        }
        /// <summary>
        /// 维修记录是否作为提醒
        /// </summary>
        public bool isRemind { get; set; }
        #endregion Model

    }
}
